package com.seisys.entity.system;


import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.seisys.entity.Page;


/**
 * 类名称：User.java 类描述：
 * 
 * @author FH 作者单位： 联系方式： 创建时间：2014年6月28日
 * @version 1.0
 */
public class User implements Serializable
{
    private static final long serialVersionUID = -7981560250804078637l;

    private String USER_ID; // 用户id

    private String USERNAME; // 用户名

    private String PASSWORD; // 密码

    private String NAME; // 姓名

    private String RIGHTS; // 权限

    private String ROLE_ID; // 角色id

    private String LAST_LOGIN; // 最后登录时间

    private String IP; // 用户登录ip地址

    private String STATUS; // 状态

    private Role role; // 角色对象

    private Page page; // 分页对象

    private String email; // 邮箱

    private String number; // 编号

    private List<Map<String, Object>> mapList;

    private String del_flag;// 删除标识

    // role实体类
    private String role_NAME; // 角色名称

    public String getRole_NAME()
    {
        return role_NAME;
    }

    public void setRole_NAME(String role_NAME)
    {
        this.role_NAME = role_NAME;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getNumber()
    {
        return number;
    }

    public void setNumber(String number)
    {
        this.number = number;
    }

    public String getUSER_ID()
    {
        return USER_ID;
    }

    public void setUSER_ID(String uSER_ID)
    {
        USER_ID = uSER_ID;
    }

    public String getUSERNAME()
    {
        return USERNAME;
    }

    public void setUSERNAME(String uSERNAME)
    {
        USERNAME = uSERNAME;
    }

    public String getPASSWORD()
    {
        return PASSWORD;
    }

    public void setPASSWORD(String pASSWORD)
    {
        PASSWORD = pASSWORD;
    }

    public String getNAME()
    {
        return NAME;
    }

    public void setNAME(String nAME)
    {
        NAME = nAME;
    }

    public String getRIGHTS()
    {
        return RIGHTS;
    }

    public void setRIGHTS(String rIGHTS)
    {
        RIGHTS = rIGHTS;
    }

    public String getROLE_ID()
    {
        return ROLE_ID;
    }

    public void setROLE_ID(String rOLE_ID)
    {
        ROLE_ID = rOLE_ID;
    }

    public String getLAST_LOGIN()
    {
        return LAST_LOGIN;
    }

    public void setLAST_LOGIN(String lAST_LOGIN)
    {
        LAST_LOGIN = lAST_LOGIN;
    }

    public String getIP()
    {
        return IP;
    }

    public void setIP(String iP)
    {
        IP = iP;
    }

    public String getSTATUS()
    {
        return STATUS;
    }

    public void setSTATUS(String sTATUS)
    {
        STATUS = sTATUS;
    }

    public Role getRole()
    {
        return role;
    }

    public void setRole(Role role)
    {
        this.role = role;
    }

    public Page getPage()
    {
        if (page == null) page = new Page();
        return page;
    }

    public void setPage(Page page)
    {
        this.page = page;
    }

    public List<Map<String, Object>> getMapList()
    {
        return mapList;
    }

    public void setMapList(List<Map<String, Object>> mapList)
    {
        this.mapList = mapList;
    }

    public String getDel_flag()
    {
        return del_flag;
    }

    public void setDel_flag(String del_flag)
    {
        this.del_flag = del_flag;
    }

    @Override
    public String toString()
    {
        return "User [USER_ID=" + USER_ID + ", USERNAME=" + USERNAME + ", PASSWORD=" + PASSWORD
               + ", NAME=" + NAME + ", RIGHTS=" + RIGHTS + ", ROLE_ID=" + ROLE_ID + ", LAST_LOGIN="
               + LAST_LOGIN + ", IP=" + IP + ", STATUS=" + STATUS + ", role=" + role + ", page="
               + page + ", email=" + email + ", number=" + number + ", mapList=" + mapList
               + ", del_flag=" + del_flag + ", role_NAME=" + role_NAME + "]";
    }

}
